﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main1.Master" AutoEventWireup="true" CodeBehind="AwardDetail.aspx.cs" Inherits="ProjectSem40701.AwardDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div class="content_tab">
		<div class="content_tab_title"><span>Chi tiết giải thưởng</span></div>
		<div class="content_tab1">
		    <table cellpadding="0px" cellspacing="0px" width="100%">
            <tr>
                <td>
                    <%--<asp:DataList ID="DataList1" runat="server" DataKeyField="ArticleID" 
                        DataSourceID="ObjectDataSource1" Width="100%" Visible="True">
                        <ItemTemplate>
                            <table cellpadding="0px" cellspacing="0px" width="100%" \>
                                <tr>
                                    <td>--%>
                                        <asp:DataList ID="DataList1" runat="server" DataKeyField="AwardID" 
                                            DataSourceID="ObjectDataSource1" Width="100%">
                                            <ItemTemplate>
                                                 <table style="width: 100%; text-align:left">
                                                   <tr>
                                                       <td align="left" style="padding-top: 5px; padding-left: 5px" valign="top">
                                                           <asp:Image ID="imgAward" runat="server" ImageUrl='<%# Eval("AwardImage", "~/images/{0}") %>'
                                                               Width="160px" OnDataBinding="imgAward_DataBinding" />
                                                       </td>
                                                   </tr>
                                                   <tr>
                                                       <td align="left" style="padding-top: 5px; padding-left: 5px" valign="top">
                                                           <asp:Label ID="lblContent" runat="server" OnDataBinding="lblContent_DataBinding"
                                                               Text='<%# Eval("AwardDescription") %>'></asp:Label>
                                                       </td>
                                                   </tr>
                                                </table>

                                            </ItemTemplate>
                                        </asp:DataList>
                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
                        SelectMethod="Get_tbl_Award_All_By_AwardID" TypeName="ProjectSem40701.MainDataset.AwardTableAdapters.tbl_AwardTableAdapter">
                        <SelectParameters>
                            <asp:QueryStringParameter Name="AwardID" QueryStringField="AwardID" Type="Int32" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                                        
                                    <%--</td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:DataList>--%>                    

                </td>
            </tr>
        </table>
		</div>
</div>

</asp:Content>